import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { UsersRoutingModule } from './users-routing.module';

import { UserAddComponent } from './user-add/user-add.component';
import { UserUpdateComponent } from './user-update/user-update.component';
import {UsersComponent} from "./users.component";
import {UsersService} from "./users.service";
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
import { UserAssignAccComponent } from './user-assign-acc/user-assign-acc.component';
import { UserCreatAccComponent } from './user-creat-acc/user-creat-acc.component';
import {AccountsService} from "../../permission/accounts/accounts.service";
import {OneOperationModule} from "../../../widgets/one-operation/one-operation.module";
import { UserSpeedyAssignAccComponent } from './user-speedy-assign-acc/user-speedy-assign-acc.component';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    OneOperationModule,
    UsersRoutingModule
  ],
  declarations: [
    UsersComponent,
    UserAddComponent,
    UserUpdateComponent,
    UserAssignAccComponent,
    UserCreatAccComponent,
    UserSpeedyAssignAccComponent
  ],
  providers : [
    UsersService,
    AccountsService
  ]
})
export class UsersModule { }
